package com.ulic.customerManApplication.journeylovemodule.dao;

import java.util.List;

import com.ulic.customerManApplication.journeylovemodule.bo.JourneyOfLoveActivity;
import com.ulic.customerManApplication.journeylovemodule.vo.JourneyLoveVO;
import com.ulic.customerManApplication.pager.PagerModel;
import com.ulic.customerManApplication.usermodule.bo.User;

public interface JourneyLoveDao {

	public PagerModel getJourneyLoves(int curPage);
	
	public PagerModel getJourneyLoves(JourneyLoveVO journeyLoveVO,int curPage);
	
	public PagerModel getJourneyLoves(JourneyLoveVO journeyLoveVO,int curPage,int pageSize);
	
	public JourneyOfLoveActivity getJourneyLoveById(int  id);

	public void insertJourneyLove(JourneyOfLoveActivity journeyOfLoveActivity)throws Exception;
	
	public void insertJourneyLoves(List<JourneyOfLoveActivity> journeyOfLoveActivities)throws Exception;
	
	public void deleteJourneyLove(JourneyOfLoveActivity journeyOfLoveActivity) throws Exception;

	public void updateJourneyLove(JourneyOfLoveActivity journeyOfLoveActivity)throws Exception;
	
	public JourneyOfLoveActivity getJourneyOfLoveActivityByDate(User user,String activityDate);
}
